package com.ml.mall.bean.req.partner;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description 合作商分配卖家请求Model
 * @author yx
 * @date 2021/9/9
 * @version 1.0
*/
@Data
@ApiModel("合作商分配卖家请求Model")
public class AllocationSupplierDto {
    @ApiModelProperty("合作商id")
    @NotNull(message = "合作商id不可为空")
    private Long partnerId;

    @ApiModelProperty("供应商id")
    @NotNull(message = "供应商id不可为空")
    private Long supplierId;
}
